package com.chen.permission.mapper;

import com.chen.basic.mapper.BaseMapper;
import com.chen.permission.domain.Permission;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface PermissionMapper extends BaseMapper<Permission> {

    void deleteAll();

    List<Permission> permissionTree();

    List<String> loadPermissionSnsByLoginUserId(Long loginUserId);
}
